package com.kingsoft.dc.khaos.module.spark.constants;

/**
 * @Author: Chris J
 * @Date: 2020-10-21.
 */
public class MysqlConstants {

    public static final String SPLIT_WITH_FIELDS = "split_with_fields";
    public static final String SPLIT_WITH_ESTIMATE = "split_with_estimate";
    public static final String SPLIT_WITH_CU = "split_with_cu";

    public static final String MODULE_MYSQL_SINK_JDBC_DRIVER = "module.mysql.sink.jdbc.driver";
    public static final String MODULE_MYSQL_SINK_JDBC_URL_PARAM = "module.mysql.sink.jdbc.url.param";
    public static final String MODULE_MYSQL_SINK_HASPERMISSION_DROPTABLE = "module.mysql.sink.hasPermission.dropTable";
    public static final String MODULE_MYSQL_SINK_EXECUTEBATCH="module.mysql.sink.executeBatch";

    // ============================SOURCE============================
    public static final String MODULE_MYSQL_SOURCE_JDBC_DRIVER = "module.mysql.source.jdbc.driver";

    public static final String MODULE_MYSQL_SOURCE_JDBC_URL_PARAM = "module.mysql.source.jdbc.url.param";
    public static final String MODULE_MYSQL_SOURCE_JDBC_FETCHSIZE = "module.mysql.source.jdbc.fetchSize";
    public static final String MODULE_MYSQL_SOURCE_JDBC_PAGING_SIZE = "module.mysql.source.jdbc.paging.size";
}
